
                ruleCustom: {
<#list table.fields as field>

    <#if field.propertyType == "Date">
    ${field.propertyName}: [
    { required: true, type: 'date',message: '${field.comment}', trigger: 'blur' }
    ],
    <#elseif field.propertyType == "Integer">
    { required: true, type: 'integer',message: '${field.comment}', trigger: 'blur' }
    <#else>
    ${field.propertyName}: [
    { required: true, message: '${field.comment}', trigger: 'blur' }
    ],
    </#if>
</#list>
                }
